Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small refactor of is_valid_function_name #440

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

j-t-1
Copy link
Contributor

@j-t-1 j-t-1 commented Nov 24, 2024

Slightly increases readability.

Slightly increases readability.
Slightly increases readability.
@j-t-1
Copy link
Contributor Author

j-t-1 commented Dec 16, 2024

string.punctuation (string of ASCII characters which are considered punctuation characters in the C locale) adds ";" and "=". If these should not be there I can change to something like (string.punctuation - ";=").encode(), and add a reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant